﻿// -----------------------------------------------------------------------
// <copyright file=DmPhongKhamBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class DmPhongKhamBusiness
    {
        DmPhongKhamDataAccess objDa = null;

        public DmPhongKhamBusiness()
        {
            objDa = new DmPhongKhamDataAccess();
        }

        public bool InsertDmPhongKham(DmPhongKhamEntity obj)
        {
            return objDa.InsertDmPhongKham(obj);
        }

        public bool EditDmPhongKham(DmPhongKhamEntity obj)
        {
            return objDa.EditDmPhongKham(obj);
        }

        public bool DeleteDmPhongKham(string maPhongKham)
        {
            return objDa.DeleteDmPhongKham(maPhongKham);
        }

        public DmPhongKhamEntity GetDmPhongKham(string maPhongKham)
        {
            return objDa.GetDmPhongKham(maPhongKham);
        }

        public IList<DmPhongKhamEntity> GetDmPhongKhamList()
        {
            return objDa.GetDmPhongKhamList();
        }

    }
}